<div class="pad-10">

	<div class="navigate">
		<h1>修改密码</h1>


        <span class="ui-button ui-button-morange fr">

            <a class="ui-button-text fr" href="javascript:history.back(-1);">返回</a>
</span>

  	</div>
  	
<div class="col-tab">
<ul class="tabBut cu-li">
	<li id="tab_setting_1" class="on"
		onclick="SwapTab('setting','on','',2,1);">修改密码</li>
</ul>
<div id="div_setting_1" class="contentList pad-10">

<form id="form" action="/index.php/Admin/Admin/update_pwd_do" method="post">

<table width="100%" cellpadding="2" cellspacing="1" class="table_form">

	<!-- 不是超管要输入原密码 -->
	<if condition="$is_self eq 1">
	
	<tr>
		<th width="100">原密码:</th>
		<td><input type="password" name="old_passwd" id="old_passwd" class="input-text" value="{$a.name}"></td>
	</tr>
	
	</if>
	
	<tr>
		<th width="100">新密码:</th>
		<td>
			<input type="password" name="passwd" id="passwd" class="input-text" value="{$a.email}" />
		</td>
	</tr>
	<tr>
		<th>确认新密码:</th>
		<td>			
			<input type="password" name="re_passwd" id="re_passwd" class="input-text" value="{$a.real_name}">
		</td>
	</tr>
	<tr>
		<th></th>
		<td>			
			<input type="submit" class="button" value="修改" />
		</td>
	</tr>
</table>

<input type="hidden" name="id" value="{$id}" />
</form>

</div>


</div>
</div>

<script type="text/javascript" src="/Js/jquery.form.js"></script>
<script type="text/javascript" src="/Js/adm/admin/update_pwd.js"></script>